package model

type ContentDescriptors struct {
	Ids   []int  `json:"ids"`
	Notes string `json:"notes"`
}
type SupportInfo struct {
	Url   string `json:"url"`
	Email string `json:"email"`
}
type ReleaseDate struct {
	ComingSoon bool   `json:"coming_soon"`
	Date       string `json:"date"`
}
type Achievements struct {
	Total       int `json:"total"`
	Highlighted []struct {
		Name string `json:"name"`
		Path string `json:"path"`
	} `json:"highlighted"`
}
type Recommendations struct {
	Total int `json:"total"`
}
type Movie struct {
	Id        int               `json:"id"`
	Name      string            `json:"name"`
	Thumbnail string            `json:"thumbnail"`
	Webm      map[string]string `json:"webm"`
	Mp4       map[string]string `json:"mp4"`
	Highlight bool              `json:"highlight"`
}
type Screenshot struct {
	Id            int    `json:"id"`
	PathThumbnail string `json:"path_thumbnail"`
	PathFull      string `json:"path_full"`
}
type Genre struct {
	Id          string `json:"id"`
	Description string `json:"description"`
}
type Platforms struct {
	Windows bool `json:"windows"`
	Mac     bool `json:"mac"`
	Linux   bool `json:"linux"`
}
type Sub struct {
	Packageid                int    `json:"packageid"`
	PercentSavingsText       string `json:"percent_savings_text"`
	PercentSavings           int    `json:"percent_savings"`
	OptionText               string `json:"option_text"`
	OptionDescription        string `json:"option_description"`
	CanGetFreeLicense        string `json:"can_get_free_license"`
	IsFreeLicense            bool   `json:"is_free_license"`
	PriceInCentsWithDiscount int    `json:"price_in_cents_with_discount"`
}
type PackageGroup struct {
	Name                    string `json:"name"`
	Title                   string `json:"title"`
	Description             string `json:"description"`
	SelectionText           string `json:"selection_text"`
	SaveText                string `json:"save_text"`
	DisplayType             int    `json:"display_type"`
	IsRecurringSubscription string `json:"is_recurring_subscription"`
	Subs                    []Sub  `json:"subs"`
}
type PriceOverview struct {
	Currency         string `json:"currency"`
	Initial          int    `json:"initial"`
	Final            int    `json:"final"`
	DiscountPercent  int    `json:"discount_percent"`
	InitialFormatted string `json:"initial_formatted"`
	FinalFormatted   string `json:"final_formatted"`
}
type Requirements struct {
	Minimum     string `json:"minimum"`
	Recommended string `json:"recommended"`
}
type Metacritic struct {
	Score int    `json:"score"`
	Url   string `json:"url"`
}
type Rating struct {
	Rating      string `json:"rating"`
	Descriptors string `json:"descriptors"`
	RequiredAge string `json:"required_age"`
	UseAgeGate  string `json:"use_age_gate"`
}
